package de.lot.action;

import de.lot.model.LearningOutcome;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;

/**
 * Represents the list of all LearningOutcomes
 *
 * @author Stefan Kohler <kohler.stefan@gmail.com>
 */
@Name("learningOutcomeList")
public class LearningOutcomeList extends EntityQuery<LearningOutcome> {

    /**
     * String representing the query for the full list.
     * @return String Query string
     */
    @Override
    public String getEjbql() {
        return "select learningOutcome from LearningOutcome learningOutcome";
    }
}
